<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="UTF-8" />
	<title>千郡医疗-我的代理链接</title>
	<meta name="keywords" content="" />
	<meta name="description" content="" />
	<meta name="format-detection" content="telephone=no" />
	<link rel="stylesheet" th:href="@{/weixin/css/style.css}" />
    <script th:src="@{/weixin/js/adaptive.js}"></script>
	<script th:src="@{/weixin/js/fastclick.min.js}"></script>
	<script th:src="@{/weixin/js/zepto.min.js}"></script>
	<script th:src="@{/weixin/js/clipboard.min.js}"></script>
</head>
<body>
	<section class="myLink">
		<div class="url" th:text="${url}"></div>
		<a href="javascript:;" class="comBtn" data-clipboard-action="copy" data-clipboard-target=".url">复制</a>
		<div class="showTip">
			<p class="tip">复制代理链接成功</p>
		</div>
	</section>
	<script>
		$(function(){
			FastClick.attach(document.body);
			var clipboard = new Clipboard('.comBtn');
			clipboard.on('success', function(e) {
				$('.showTip').fadeIn();
				setTimeout(function(){
					$('.showTip').fadeOut();
				},2000);
			});
		})
	</script>
</body>
</html>